package sizeyunsuan;

/**
 * Created by 春旺 on 2017/5/16.
 */
import java.io.*;
public class InFile {
    public String inFile(String sr)throws IOException{
        FileWriter fm = new FileWriter("problem.txt");
        BufferedWriter bufm = new BufferedWriter(fm);

        bufm.write(sr);
        bufm.newLine();
        bufm.flush();
        return "problem.txt";
    }
}
